<div class="col_8 all_height">
    <div class="swiper-container all_height">
        <div class="swiper-wrapper">
            {{for(var i=0;i<it.imgs.length;i++){ }}
            <div class="swiper-slide absolute all">
                <img class="all_height" src="{{=it.imgs[i]}}"/>
            </div>
            {{ } }}
        </div>
        <div class="swiper-pagination"></div>
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next"></div>
    </div>
</div>
<div class="col_4 all_height" style="padding-left:4%;">
    <div class="all_width all_height padding_15 bg_white lineheight_2" style="overflow:auto;">
        <div class="border_b">
            <p class="orange">{{=it.name}}</p>
            <div><i class="iconfont icon-location font_20 blue padding_r_10"></i>{{=it.address}}</div>
            <div><i class="iconfont icon-telephone1 font_20 blue padding_r_10"></i>{{=it.phone}}</div>
        </div>
        <div class="border_b padding_v_10 text_indent">{{=it.descripation}}</div>
        <div class="padding_v_10">
            <p class="orange">养殖记录</p>
            <div class="pigs_list">
                {{for(var i=0;i<it.pig.length;i++){ }}
                <div class="h_justify cursor" onclick="openqrcode('{{=i}}')">
                    <div>仔猪编号{{=it.pig[i].no}}</div>
                    <div {{if(it.pig[i].status == '饲养中'){}}class="blue"{{}}}>{{=it.pig[i].status}}</div>
                </div>
                {{ } }}
            </div>
        </div>
    </div>
</div>
<div class="absolute block_40 text_center circle cursor label_white" style="top:48%;right:20px;font-size:24px;" onclick="closefarmer()"><i class="iconfont icon-close"></i></div>
    